<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>เพิ่มข้อมูลสมาชิก</title>
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<style type="text/css">
body {
	background-color: #82AFFB;
	text-align: center;
}
</style>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
</head>

 <script>
$(document).ready(function() {
$("#datepicker").datepicker({ dateFormat: "yy/mm/dd" }).val()
});
$(document).ready(function() {
var param1 = new Date();
var param2 = param1.getFullYear() + '/' + (param1.getMonth()+1) + '/' + param1.getDate();
$('#MemRegister').val(param2)
})
</script>

<body>
<table width="913" height="637" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="133" colspan="8"><img src="../image/mix.jpg" width="641" height="177" /></td>
  </tr>
  <tr>
    <td width="144"><a href="file:///G|/pppppppppppppppppppppppppp/bok/list_officer.php"><img src="file:///G|/pppppppppppppppppppppppppp/image/menuadmin1.jpg" width="140" height="40" /></a></td>
    <td width="144"><a href="file:///G|/pppppppppppppppppppppppppp/bok/add_members.php"><img src="file:///G|/pppppppppppppppppppppppppp/image/menuadmin2.jpg" width="140" height="40" /></a></td>
    <td width="144"><a href="file:///G|/pppppppppppppppppppppppppp/bok/Addbook.html"><img src="file:///G|/pppppppppppppppppppppppppp/image/menuadmin3.jpg" width="140" height="40" /></a></td>
    <td width="144"><a href="file:///G|/pppppppppppppppppppppppppp/bok/list_pub.php"><img src="file:///G|/pppppppppppppppppppppppppp/image/menuadmin4.jpg" width="140" height="40" /></a></td>
    <td width="138"><a href="file:///G|/pppppppppppppppppppppppppp/test/index.php"><img src="file:///G|/pppppppppppppppppppppppppp/image/menuadmin5.jpg" width="138" height="46" /></a></td>
    <td width="199"><img src="file:///G|/pppppppppppppppppppppppppp/image/menuadmin8.jpg" width="144" height="46" /></td>
  </tr>
  <tr>
  
    <td colspan="8"><form id="form1" name="form1" method="post" action="save_member.php">
      <p>&nbsp;</p>
      <table width="604" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td colspan="2">&nbsp;เพิ่มข้อมูลสมาชิก</td>
          </tr>
        <tr>
          <td width="181">รหัสสมาชิก</td>
          <td width="423"><label for="MemID"></label>
            <input type="text" name="MemID" id="MemID" /></td>
          </tr>
        <td>ชื่อ-นามสกุล</td>
          <td><input name="MemName" type="text" id="MemName" size="30" maxlength="70" />
            *</td>
          </tr>
        <tr>
          <td>ชื่อเล่น</td>
          <td><label for="MemNick"></label>
            <input type="text" name="MemNick" id="MemNick" /></td>
          </tr>
        <tr>
          <td>ปี/เดือน/วัน เกิด</td>
          <td><label for="MemBirth"></label>
            <input type="text" name="MemBirth" id="datepicker" /></td>
          </tr>
        <tr>
          <td height="28">เพศ</td>
          <td><p>
            <label>
              <input type="radio" name="MemSex" value="male" id="MemSex_0" />
              male</label>
            <br />
            <label>
              <input type="radio" name="MemSex" value="female" id="MemSex_1" />
              female</label>
            <br />
          </p></td>
          </tr>
        <tr>
          <td height="28">เลขบัตรประชาชน</td>
          <td><label for="MemNum"></label>
            <input name="MemNum" type="text" id="MemNum" maxlength="13" /></td>
          </tr>
        <tr>
          <td height="28">ที่อยู่</td>
          <td><textarea name="MemAddress" id="MemAddress" cols="30" rows="3"></textarea></td>
          </tr>
        <tr>
          <td height="28">เบอร์โทรศัพท์</td>
          <td><label for="MemTel"></label>
            <input type="text" name="MemTel" id="MemTel" /></td>
          </tr>
        <tr>
          <td height="28">อีเมล์</td>
          <td><input type="text" name="MemEmail" id="MemEmail" />
            *</td>
          </tr>
        <tr>
          <TD>วันที่สมัครสมาชิก :</TD>
          <TD><input name="MemRegister" type="text" id="MemRegister" value="" readonly="readonly" />
          </TR>
  <TD>ประเภทสมาชิก :</TD>
<TD><p>
  <label>
    <input type="radio" name="MemType" value="Normal" id="MemType_0" />
    Normal</label>
  <br />
  <label>
    <input type="radio" name="MemType" value="Vip" id="MemType_1" />
    Vip</label>
  <br />
</p></TD>
</TR>
        <tr>
          <td height="28">&nbsp;</td>
          <td><input type="submit" name="Submit" id="Submit" value="ตกลง" />
            &nbsp;&nbsp;&nbsp;&nbsp;
            <input type="reset" name="Reset" id="Reset" value="ยกเลิก" />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
          </tr>
      </table>
    </form>
    </form></td>
  </tr>
</table>
</body>
</html>